package com.ysh.xiaomi.dao;

import com.ysh.xiaomi.pojo.TbOrder;

import java.util.List;

/**
 * 袁胜虎 on 2022/8/18 19:40
 */
public interface OrderDao {
    void addOrder(String orderId, Long userId, Long addressId, Long money);

    void addOrderDetail(String orderId, Long goodKzId, long num, long money);

    List<TbOrder> findByUserId(Long userId);

    int updateOrderStaus(String oid, String status);

    TbOrder findById(String orderId);


    TbOrder findOrderById(String oid);

}
